main .container {

}
main .content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1em;
}
main .mphb_room_type {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
main h1.mphb-room-type-title {
    font-weight: 500;
    color: #434343;
}

main .left {
    display: flex;
    flex-direction: column;
    gap: 2em;
}
main .left h3 {
    font-weight: 500;
}

main .left .thumbnail {
    border-radius: 10px;
    background: #e4e4e4;
}
main .post-thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 10px;
    box-shadow: 0px 14px 60px 0px rgba(0, 0, 0, 0.07);
}

main #metaslider_66.flexslider .slides li {
    width: 100px !important;
}
main #metaslider_66.flexslider .slides li img {
    border: 0px;
    border-radius: 10px;
    box-shadow: 0px 14px 60px 0px rgba(0, 0, 0, 0.07);

}

main .left .bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "top top" ". .";
    border-radius: 17px;
    box-shadow: 0px 14px 40px 0px rgba(0, 0, 0, 0.11);
    padding: 1em;
    gap: 2em;
}
main .left .bottom ul {
    list-style: inside;
    padding: 0;
    margin: 0;
}
main .left .bottom ul li::marker {
    color: var(--colorMain);
}

main .left .bottom .description ul {
    list-style: disc;
    padding-left: 1.5em;
}

main .left .bottom ul.facilities-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
main .left .bottom .custom-meta ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
main .left .bottom .custom-meta ul li {
    font-weight: 500;
}
main .left .bottom .custom-meta ul li::marker {
    margin: 0;
}
main .left .bottom .room-attribute {
    grid-area: top;
}

main .left .bottom .attributes .room-attribute, main .left .bottom .description {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

main .mphb-details-title {
    display: none;
}

main .right {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 0.5em;
}
main .right .contact {
    display: flex;
    flex-direction: column;
    text-align: center;
    
    gap: 1em;
    padding: 1.5em;

    border-radius: 10px;
    box-shadow: 0px 14px 40px 0px rgba(0, 0, 0, 0.11);
}
main .right .contact a {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}
main .right .contact p a {
    width: 100%;
}
main .right .contact .link {
    display: flex;
    justify-content: space-around;
}


main .right .contact button {
    width: 100%;
    border-radius: 10px;
    background: var(--colorMain);
    color: #fff;
    padding: 2em;
    border: 0;
}

/*
main .right .prices {
    background: #d9d9d9;
    padding: 1.5em;
}
main .right .prices table {
    border: 0.5em;
}
main .right .prices thead,
main .right .prices tbody {
    transform: translateX(-2px);
}
main .right .prices th {
    color: #8a8a8a;
    padding: 0.5em 0;
    padding-right: 1em;
    text-align: left;
    font-family: 'Inter',sans-serif;
    font-weight: 500;
}
main .right .prices th:last-child{
    padding-right: 0;
}
main .right .prices tbody tr th {
    border-bottom: 1px solid #cacaca;
}
main .right .prices tbody tr:last-child th {
    border: 0;
    color: var(--colorPrimary);
}*/
main .right #prices .rXVw0q div:has(.GXqgYg.Gi5CqR) {
    display: flex;
    flex-direction: column;
    align-items: center;
}
main .right #prices section {
    display: block;
    margin: 0;
}

main form {
    display: flex;
    flex-direction: column-reverse;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0px 14px 40px 0px rgba(0, 0, 0, 0.11);
    background: rgba(255, 255, 255, 1);
}

main form .form {
    display: grid;
    align-items: center;
    gap: 1em;
}

main form .form .line {
    border-radius: 10px;
    background: rgba(224, 230, 237, 1);
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
}

main form .form .line p {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 0.5em;
    flex-wrap: wrap;
}

/* Стили для инпутов, чтобы они сливались с текстом */
main form .form .line label {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0.3em;
    margin: 0;
}

main form .form .line input[type="date"],
main form .form .line input[type="number"],
main form .form .line input[type="tel"] {
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    width: 100%;
    outline: none;
    border: none;
    padding: 0.3em;
}

main form .form .line input[type="date"]:focus,
main form .form .line input[type="number"]:focus,
main form .form .line input[type="tel"]:focus {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

/* Стили для кнопки отправки */
main form .form .line:last-child {
    background: transparent;
    display: flex;
    justify-content: center;
}

main form .form .line:last-child p {
    width: 100%;
    justify-content: center;
}

main form .form .line input[type="submit"] {
    background: var(--colorMain);
    cursor: pointer;
    color: white;
    border: none;
    padding: 1.1em;
    border-radius: 10px;
    width: 100%;
    font-size: 1em;
    transition: background 0.3s ease;
}

main form .form .line input[type="submit"]:hover {
    background: var(--colorMainHover);
}

main form .form .line.date p {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
main form .form .line input[type="number"] {
    width: 30px !important;
}
main form .form .line.submit {
    padding: 0;
}
main form .form .line.submit label {
    width: 100%;
}

main form .form .line.submit p {
    width: 100%;
}
main form .form .wpcf7-spinner {
    display: none;
}
main form .form .wpcf7-list-item-label {
    display: inline;
}
main form .form .wpcf7-list-item {
    margin: 0;
}

main .photos-viwer {
    display: none;
    position: fixed;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.95);
    width: calc(100% - 4em);
    z-index: 2000;
    height: 100%;
    padding: 2em;
    left: 0;
    top: 0;
}
main #metaslider_140 .ms-image {
    display: none !important;
    width: 100% !important;
}
main #metaslider_140 .ms-image.active {
    display: block !important;
}
main #metaslider_140 .ms-image img {
    max-height: 90vh;
}
main #metaslider_140 ul {
    width: 100% !important;
}

main .photos-viwer.active {
    display: flex;
    flex-direction: row;
    gap: 1em
}

main .photos-viwer .metaslider {
    width: calc(100% - 4em) !important;
}
#metaslider-id-140 .slides {
    transform: 0 !important;
}
main .container .slider-arrow {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
}


/* LOADER */
#loader {
    width: 100%;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.loader {
    max-width: fit-content;
    color: rgb(242, 255, 240);
    font-size: 50px;
    position: relative;
    font-style: italic;
    font-weight: 600;
}
.loader span {
    animation: cut 2s infinite;
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--colorMain);
}
.loader:hover {
    color: #fcffdf;
}
.loader::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 6px;
    border-radius: 4px;
    background-color: #ff828291;
    top: 0px;
    filter: blur(10px);
    animation: scan 2s infinite;
    left: 0;
    z-index: 0;
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  
.loader::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background-color: #ff8282;
    top: 0px;
    animation: scan 2s infinite;
    left: 0;
    z-index: 1;
    filter: opacity(0.9);
    transition: 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
  @keyframes scan {
    0% {
        top: 0px;
    }
    25% {
        top: 54px;
    }
    50% {
        top: 0px;
    }
    75% {
        top: 54px;
}
}
  @keyframes cut {
    0% {
        clip-path: inset(0 0 0 0);
    }
    25% {
        clip-path: inset(100% 0 0 0);
    }
    50% {
        clip-path: inset(0 0 100% 0);
    }
    75% {
        clip-path: inset(0 0 0 0);
    }
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1em;
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 10px;
}

.slide {
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.slide:hover img {
    transform: scale(1.05);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.3s;
}

.slider-btn:hover {
    background-color: rgba(0,0,0,0.5);
    opacity: 1;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

.indicators-container {
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #717171;
}

/* Fullscreen overlay */
.fullscreen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.fullscreen-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-img {
    max-width: 100%;
    max-height: 95vh;
    object-fit: contain;
}

.fullscreen-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.7);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    z-index: 2001;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.fullscreen-btn:hover {
    opacity: 1;
}

.fullscreen-btn.prev {
    left: 20px;
}

.fullscreen-btn.next {
    right: 20px;
}

.fullscreen-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 2001;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    z-index: 2001;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1000px) {
    .slider-container {
        max-width: 900px;
    }
}

@media (max-width: 800px) {
    .slider-container {
        max-width: 700px;
    }
}

@media (max-width: 600px) {
    .slider-container {
        max-width: 500px;
    }
    .slider-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .slider-container {
        max-width: 350px;
    }
}